<template>
  <div class="container">
    <div :class="['gw_title', blockanimation == true ? 'gw_titlea' : '']">
      电台主播 实时互动
    </div>
    <div :class="['fbt_title', blockanimation == true ? 'fbt_titlea' : '']">
      来这里
      <br />不用排队，永不占线 <br />与电台主播即时互动 <br />随时随地，想聊就聊
    </div>
    <div
      :class="[
        'componenttwo_img',
        blockanimation == true ? 'componenttwo_imga' : ''
      ]"
    >
      <img src="@/assets/mobileimg/twop.png" alt />
    </div>
  </div>
</template>
<script>
export default {
  name: "componentTwo",
  props: {
    blockanimation: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  }
};
</script>
<style lang="scss" scoped>
.container {
  background: url("~@/assets/mobileimg/two2x.png") no-repeat center top;
  background-size:100% 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;  
  margin-top: -1px;
}
.gw_title {
  font-size: 29px;
  font-family: SourceHanSansSC-Bold, SourceHanSansSC;
  font-weight: bold;
  color: #3f5084;
  line-height: 29px;
  padding: 90px 0 0 0;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  opacity: 0;
}
.gw_titlea {
  animation: gw_titleright 0.5s 0.25s linear forwards;
}
@keyframes gw_titleright {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes gw_titleright {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
.fbt_title {
  font-size: 18px;
  font-family: SourceHanSansSC-Regular, SourceHanSansSC;
  font-weight: 400;
  color: #3f5084;
  line-height: 27px;
  padding: 15px 0 10px 0;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  opacity: 0;
}
.fbt_titlea {
  animation: fbt_titleright 0.5s 0.25s linear forwards;
}
@keyframes fbt_titleright {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes fbt_titleright {
  from {
    opacity: 0;
    transform: translate3d(375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
.componenttwo_img {
  padding-bottom: 89.5px;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  opacity: 0;
  img {
    width: 100%;
    height: 100%;
  }
}
.componenttwo_imga {
  animation: componenttwo_imgleft 0.5s 0.25s linear forwards;
}
@keyframes componenttwo_imgleft {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
@-webkit-keyframes componenttwo_imgleft {
  from {
    opacity: 0;
    transform: translate3d(-375px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0, 0);
  }
}
</style>
